﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Fish_Atlantis.Account.Login1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">
    <title>亚特兰蒂斯——登录界面</title>

<link href="../Styles/login-box.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #signup_sub
        {
            width: 124px;
            margin-left: 89px;
        }
    </style>
    <script type="text/javascript">
        function myFunction() {
            x = document.getElementById("Text1");
            y = document.getElementById("Password1");
            if (x.value == "")
            { return false; }
            if (y.value == "")
            {return false; }
            return true;

        }

        function notno() {
            //alert(window.event.keyCode);
            if (window.event.keyCode == 32)
                event.returnValue = false;
        }
    </script>
</head>

<body bgcolor="silver" background="../image/86859-106.jpg">


<div style="padding: 100px 0 0 250px;">
<form  id="Tab_XQDW" method="post" runat="server">
<div id="login-box">

<h2>亚特兰蒂斯-登录</h2>
<pre>                      ——欢迎来到传说水之都亚特兰蒂斯</pre>
<br />
<div id="login-box-name" style="margin-top:20px;" class="blue">用户名:</div><div id="login-box-field" style="margin-top:20px;">
    <input id="Text1" name="q" class="form-login" placeholder="请输入用户名" title="Username" value="" size="30" 
        maxlength="10"  onkeydown="notno()" runat="server"/></div>
        <br />
        
<div id="login-box-password">用户密码:</div><div id="login-box-field2">
    <input id="Password1" name="q" type="password" placeholder="请输入密码" class="form-login" title="Password" value="" 
        size="30" maxlength="30" onkeydown="notno()" runat="server" /></div>
<br />
<span class="login-box-options"><input id="Checkbox1" type="checkbox" name="1" value="1" runat="server"/> 记住我</span>
<br />
<br />
<a id="A1" style="margin:20px,0,0,0" runat="server" onclick="if(!myFunction())return false" onserverclick="btn_sub_Click" >
    <img src="../image/login-btn.png" width="103" height="42" 
        style="margin-left:87px;" /></a>

<a id="A2" href="Register.aspx" ><img src="/image/reg-btn.png" width="103" 
        height="42" style="margin-left:5px;" /></a>

</div>

</form>
</div>

</body>
</html>
